<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Question extends Model
{
    //定义主键
    protected $pk = "QID";
    //定义类型为json的字段
    protected $json = ['options','answer'];
}
